package com.pubinfo.passbook.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Time;
import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author xuhong
 * @since 2022-05-25
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_source_bank_reconciliation_statement_details")
@ApiModel(value = "TSourceBankReconciliationStatementDetails对象", description = "")
public class TSourceBankReconciliationStatementDetails implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty("记账日期")
    @TableField("date_of_bookkeeping")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date dateOfBookkeeping;

    @ApiModelProperty("业务产品种类")
    @TableField("types_of_business_products")
    private String typesOfBusinessProducts;

    @ApiModelProperty("原始凭证种类")
    @TableField("type_of_source_document")
    private String typeOfSourceDocument;

    @ApiModelProperty("原始凭证号码")
    @TableField("number_of_source_document")
    private String numberOfSourceDocument;

    @ApiModelProperty("银行电子回单信息摘要")
    @TableField("notes_of_bank_electronic_receipt")
    private String notesOfBankElectronicReceipt;

    @ApiModelProperty("借贷标志")
    @TableField("identification_of_credit_or_debit")
    private String identificationOfCreditOrDebit;

    @ApiModelProperty("交易金额")
    @TableField("transaction_amount")
    private BigDecimal transactionAmount;

    @ApiModelProperty("余额方向")
    @TableField("debit_or_credit_of_balance")
    private String debitOrCreditOfBalance;

    @ApiModelProperty("账户余额")
    @TableField("account_balance")
    private BigDecimal accountBalance;

    @ApiModelProperty("交易代码")
    @TableField("transaction_code")
    private String transactionCode;

    @ApiModelProperty("对方账号")
    @TableField("account_of_counterparty")
    private String accountOfCounterparty;

    @ApiModelProperty("对方户名")
    @TableField("name_of_counterparty")
    private String nameOfCounterparty;

    @ApiModelProperty("对方开户行")
    @TableField("depository_bank_of_counterparty")
    private String depositoryBankOfCounterparty;

    @ApiModelProperty("记账柜员")
    @TableField("bookkeeper")
    private String bookkeeper;

    @ApiModelProperty("记账时间")
    @TableField("time_of_bookkeeping")
    private String timeOfBookkeeping;

    @ApiModelProperty("记账流水")
    @TableField("journal_account_of_bookkeeping")
    private String journalAccountOfBookkeeping;

    @ApiModelProperty("其他记账信息")
    @TableField("other_accounting_information")
    private String otherAccountingInformation;

    @ApiModelProperty("银行电子回单编号")
    @TableField("number_of_bank_electronic_receipt")
    private String numberOfBankElectronicReceipt;

    @TableField("bank_reconciliation_statement_id")
    private String bankReconciliationStatementId;


}
